<?php 

include "./Upload.class.php";


 $config = array(
 	'path' =>"./wenjian/", 
 	'max_size'=>150000,
 	'type'=>['txt']
 	);
$obj=new Upload($config);
$obj->save();
$info = $obj->error;
header("location:./upload1.php?info=".$info);















 ?>